//
//  SegmentDownloadProtocol.h
//  SegmentDownloadDemo
//
//  Created by gao on 2018/7/13.
//  Copyright © 2018 gao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SegmentDownloadTask.h"
@protocol SegmentDownloadProtocol<NSObject>
-(SegmentDownloadTask*)getDownloadTask;
-(void)updateDownloadTaskState:(DownloadTaskStatus)status;
-(void)updateDownloadTaskProgress:(float)progress;
-(void)updateDownloadTaskSpeed:(NSString*)speed;
-(void)updateDownloadTaskDownloadSize:(NSInteger)downloadedSize totalSize:(NSInteger)totalSize;
@end
